<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="description" content="<?php echo $this->config->item('title');?>">
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
    <title><?php echo $this->config->item('title');?></title>
    <link rel="stylesheet" href="<?php echo base_url()?>css/style_all.css" type="text/css" media="screen"/>
    <link rel="stylesheet" href="<?php echo base_url()?>css/style3.css" type="text/css" media="screen"/>
    <link rel="stylesheet" href="<?php echo base_url()?>css/jquery-ui.css" type="text/css" media="screen"/>
    <link rel="stylesheet" href="<?php echo base_url()?>css/jquery.wysiwyg.css" type="text/css" media="screen"/>
    <!--Internet Explorer Trancparency fix-->
    <!--[if IE 6]>
    <script src="<?php echo base_url()?>js/ie6pngfix.js"></script>
    <script>
    DD_belatedPNG.fix('#head, a, a span, img, .message p, .click_to_close, .ie6fix');
   	</script>
    <![endif]--> 
        
	<script type="text/javascript" src="<?php echo base_url()?>js/jquery.js"></script>
    <script type="text/javascript" src="<?php echo base_url()?>js/jquery-ui.js"></script>
    <script type="text/javascript" src="<?php echo base_url()?>js/jquery.wysiwyg.js"></script>
    <script type="text/javascript" src="<?php echo base_url()?>js/custom.js"></script>
    </head>
	<body >    	
        <div id="top">
            <div id="head">
            	<h1 class="logo">
                	<a href="<?php echo base_url()?>"><?php echo $this->config->item('title');?></a>
                </h1>
                
                <div class="head_memberinfo">
                    <span class="memberinfo_span">
                   		 你好, <a href=""><?php echo $this->session->userdata("user_name")?></a>
                    </span>
                    <span class="memberinfo_span">
                    	<a href="<?php echo base_url()."index.php/common_login_user_set"?>">设置</a>
                    </span>
                    <span>
                    	<a href="<?php echo base_url()?>index.php/common_login_manage/logout">登出</a>
                    </span>
                </div><!--end head_memberinfo-->
            
            </div><!--end head-->
           	
            <div id="bg_wrapper">
            	<div id="main">
                	<div id="content">
                		<div class="jquery_tab_container"></div>
                            <?php for ($j = 0; $j < count($module_list); $j++) {?>
                        <div class="jquery_tab tablist" >
                            <div class="content_block">
                            	<h2 class="jquery_tab_title"><?php echo $module_list[$j]['NAME']?></h2>
                            	<table id="table_liquid" cellspacing="0">
                            	<caption><?php echo $module_list[$j]['NAME']?>功能 </caption>
                                    <thead>
                                     	<tr>
                                     		<th width="300px">功能名称</th>
	                                    	<th>功能说明</th>
	                                        <th width="200px;">操作</th>
                                      	</tr>
                                    </thead>
                                	<tbody>
                                      	<?php for ($i = 0; $i < count($url_list); $i++) {?>
                                      		<?php if ($url_list[$i]['PARENT_ID']==$module_list[$j]['RIGHT_ID']) {?>
                                      	<tr <?php echo $i%2==1?"class=\"alt\"":"";?>>
                                      		<td><?php echo $url_list[$i]['NAME']?></td>
	                                        <td><?php echo $url_list[$i]['DESCRIPTION']?></td>
	                                        <td>
	                                        	<?php if ($right_modify) {?>
	                                        	<a href="<?php echo base_url()?>index.php/common_right_manage/action_list/?right_id=<?php echo $url_list[$i]['RIGHT_ID']?>">权限管理</a>
	                                        	<a href="<?php echo base_url()?>index.php/common_right_manage/to_modify_right/?right_id=<?php echo $url_list[$i]['RIGHT_ID']?>">编辑</a>
	                                        	<?php }?>
	                                        	<?php if ($right_delete) {?>
	                                        	<a href="<?php echo base_url()?>index.php/common_right_manage/to_delete_right/?right_id=<?php echo $url_list[$i]['RIGHT_ID']?>">删除</a>     
	                                        	<?php }?>
	                                        </td>
                                    	</tr>
                                      		<?php }?>
                                      	<?php }?>
                                    </tbody>
                            	</table>
                            	<div class="right_div">
                                	<a href="<?php echo base_url()?>index.php/common_right_manage" class="button">返回菜单</a>
                                </div>
                            </div><!--end content_block-->
                    	</div><!--end jquery tab-->
                        <?php }?>
                    </div><!--end content-->
               	</div><!--end main-->
                    
              	<div id="sidebar">
                    <?php echo $user_menu;?><!--end subnav-->
                </div><!--end sidebar-->
            </div><!--end bg_wrapper-->
                     
        	<div id="footer">
            	<?php echo $this->config->item("footer")?>
            </div><!--end footer-->
        </div><!-- end top -->
	</body>
</html>